UnifiedPush RESTful Endpoint 1.0.3

Path: / registry / device / {token}

RESTful API for Device unregistration. The Endpoint is protected using HTTP Basic (credentials VariantID:secret).
 curl -u "variantID:secret"
   -v -H "Accept: application/json" -H "Content-type: application/json"
   -X DELETE
   https://SERVER:PORT/context/rest/registry/device/{token}
 

Path parameters:
token ( .*) -

Method Summary
ResourceDescription
DELETE /registry/device/{token}RESTful API for Device unregistration.

Method Detail

RESTful API for Device unregistration. The Endpoint is protected using HTTP Basic (credentials VariantID:secret).

 curl -u "variantID:secret"
   -v -H "Accept: application/json" -H "Content-type: application/json"
   -X DELETE
   https://SERVER:PORT/context/rest/registry/device/{token}
 

Output:
javax.ws.rs.core.Response
HTTP return codes:
204 - (OK) Successful unregistration.
401 - (Unauthorized) The request requires authentication.
404 - (Not Found) The requested device metadata does not exist.

UnifiedPush RESTful Endpoint 1.0.3